/*    */ package com.zimbra.cs.filter.jsieve;
/*    */ 
/*    */ import com.zimbra.cs.filter.ZimbraMailAdapter;
/*    */ import org.apache.jsieve.Arguments;
/*    */ import org.apache.jsieve.Block;
/*    */ import org.apache.jsieve.SieveContext;
/*    */ import org.apache.jsieve.exception.SieveException;
/*    */ import org.apache.jsieve.mail.MailAdapter;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class Discard
/*    */   extends org.apache.jsieve.commands.Discard
/*    */ {
/*    */   protected Object executeBasic(MailAdapter mail, Arguments arguments, Block block, SieveContext context)
/*    */     throws SieveException
/*    */   {
/* 32 */     if (!(mail instanceof ZimbraMailAdapter))
/* 33 */       return null;
/* 34 */     ((ZimbraMailAdapter)mail).setDiscardActionPresent();
/* 35 */     return super.executeBasic(mail, arguments, block, context);
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/filter/jsieve/Discard.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */